package com.hjxy.dao;

import com.hjxy.pojo.Teacher;

import java.util.List;

public interface TeacherDao {
    //显示所有教师信息
    List<Teacher> queryTeacher();

    //添加教师信息
    int addTeacher(Teacher teacher);

    int insertByTeacher(Teacher teacher);
    //修改教师信息
    int updateTeacher(Teacher teacher);

    int addOneTeacher(Teacher teacher);

    //查询一个教师信息
    Teacher queryOneTeacherById(Integer teacherId);

    //删除一个教师信息
    int deleteOneTeacher(int teacherId);
}
